﻿using System;
using System.Data;

namespace DataCenter.Interface
{
    public interface IDbProvider : IDisposable
    {
        string ConnectionString { get; set; }
        IDbConnection Connection { get; set; }
        IDbCommand Command { get; set; }
        void BeginTransaction();
        void RollBack();
        void Commit();
        void Open();
        void Close();
    }
}
